package com.thams.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.thams.dao.base.DataBaseDao;
import com.thams.dao.i.IInventoryClassDao;
import com.thams.entity.InventoryClass;


public class InventoryClassDao extends DataBaseDao implements IInventoryClassDao {

	@Override
	public List<InventoryClass> getInventoryClassList() throws DataAccessException{
		return getConn().queryForList("USERTABLE.getInventoryClassList");
	}

	@Override
	public void insertInventoryClass(InventoryClass inventoryClass) throws DataAccessException{
		getConn().insert("USERTABLE.insertInventoryClass", inventoryClass);
	}

}
